package com.note.simpleshop.module.system.dao;

import com.note.simpleshop.entity.TbBanner;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BannerRepository extends JpaRepository<TbBanner, String> {
    List<TbBanner> findByIsShowAndIsDeleteOrderBySortAsc(Integer isShow, Integer isDelete);
}